Question: how to transfer data from one iphone to another using a cable?
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.