the easiest way is to move everything over manually from computer to computer. you want to get the itunes database file as part of this
doing it via the iphone is the hard way
once everything is moved over you want to login to itunes, setup your sync options and it will ask you to remove everything off the iphone and resync.do this.