Question: how to transfer data to new iphone with 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.