Question: how to transfer all data from iphone x to iphone 11 pro?
Answer: Connect the Lightning to USB 3 Camera Adapter to power through its Lightning port. ... 
Connect the Lightning to USB 3 Camera Adapter to your current iPhone.
Plug the Lightning to USB Cable into your new iPhone, then connect the other end to the adapter.