If you’re an iPhone user already and have just upgraded to a new iPhone 5c or 5s, chances are that you want to move all of your data over from your previous device. iOS actually makes this process really easy simply by allowing you to restoring a current backup from either iTunes or iCloud.
There is one small catch, however: For security purposes, passwords for services such as your Wi-Fi networks and e-mail accounts are stored in your backups in a way unique to your original device. This protects them should your backup fall into the wrong hands, but it also means that they can’t be transferred to a different iPhone, iPad, or iPod touch for the same reason.
The good news, however, is that you can use an encrypted backup in iTunes in order to store your passwords for transfer to another device; since the backup is already encrypted, iTunes and iOS don’t need to encrypt the passwords inside any further.
To set this up, simply connect your original iPhone to your computer, open iTunes, and check the “Encrypt iPhone Backup” option. You’ll need to set a password that can be used to decrypt the backup, after which iTunes will immediately make an encrypted backup of your iPhone to your computer.