Transferring setup data to Nexus 5
You can use the SyncDroid app in Android and computer to backup and restore using USB Cable..

Here's the official instructions:
How to Backup and Restore Android Phone with SyncDroid

Edit: It's not possible to do that directly by connecting the 2 phones via USB cable, as you seem to ask for that in the question..