Question: how to transfer all data from iphone 5 to iphone x?
Answer: On your new iPhone X, Tap Restore from iTunes Backup, and connect iPhone X to iTunes, select a certain backup and restore it to iPhone X. Simply wait for the restoring process finished, and a few steps to go to complete the update, then all data from old iPhone now is on the new iPhone X. Enjoy your iPhone X!