Question: how to transfer all your iphone data to a new computer?
Answer: Turn on your new device. ... 
Follow the steps until you see the Apps & Data screen, then tap Restore from Mac or PC.
Connect your new device to the computer that you used to back up your previous device.