This question already has an answer here:
I have an assignment to submit tomorrow and my friend has finished his. Can I copy his or will I have to do it myself? I had heard it is Haram to copy in Islam in papers. But what is the ruling on assignment?