Move iPhone sync home computer from someone else's to mine
iTunes media can be simply copied to another drive and 
restored at leisure.

As for leaving gifts behind, iTunes' music has been DRM-free for a pretty long time now, so you should just be able to copy the files between machines. Be aware that they are still traceable to you — if your friend starts distributing them, you could get in trouble.