Question: how to transfer all data from iphone to new one?
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.