as a tutor I know folks collaborate on work, heck I even encourage it sometimes - a great way to improve your writing is to debate assignments, share drafts, and mark each others work
BUT this is somewhat different and it probably isn't okay for me to comment on specific cases at a different uni
having said that . . .again from a tutor point of view, if this is first year then it might just be a wrap on the knuckles and might not even come back to you.
TurnItIn will flag to me if someone copied others' work and I will probably only focus on the copier not the copy-ee (if that's a thing) unless its outrageous. Most Unis let students submit draft work to software like this, it could be a relief for you if your friend did this
Related to this, I see assignments that are clearly not the students work or even purchased assignments (its not hard to tell!) and will escalate, sometimes the course/programme leader can be reluctant to challenge through formal channels . . .