Dear Ana Xisca,
It’s really bad you’re friend copied your work in the test.
If you not sure your teacher knows your friend copied by you, you shouldn’t tell the teacher because sometimes you have to copy.
I know it’s wrong copy but sometimes you need.
You don’t have to feel bad, just continue your life likes nothing happened.
I hope I have help you.
And don’t forget, copy!