Question: how to transfer all data from iphone x to iphone 11?
Answer: Turn on your new device and place it near your current device that's using iOS 11 or later. ... 
Wait for an animation to appear on your new device. ... 
When asked, enter your current device's passcode on your new device.
Follow the instructions to set up Face ID or Touch ID on your new device.