Hi there,
It's really kind of you for trying to help your friend but you have to prioritise yourself.
You joined university to improve your own knowledge and understanding, not to look after other classmates.
I know you tried to be supportive, but if the system notices that the two of you submitted similar assignments, you both will get in trouble and there could be harsh consequences.
I would advise to speak to your friend immediately and if they seem unwilling, please speak to one of your lecturers or course leaders.
I hope I managed to help!
Best of luck,
Melanie
LSBU Rep