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