It's not a good idea, there generally is a zero tolerance policy at that level for plagiarism and I would presume the other student will not be getting their master's. And especially don't think you can get away with it even if you are sneaky. I teach online master's classes and we have a tool called Turnitin. It scans everyone's paper and compares it to published literature AND all other students papers and it works extremely well.