Question: how to transfer itunes library from iphone to new computer?
Answer: Download and install the backup and transfer software to the new computer.
Sync your device to iTunes on the old computer to copy the most recent version of the library.
Connect your iPhone, iPad, or iPod touch to the new computer, but don't sync it.