You can easily change your Apple ID password by following these steps:
- Go to Settings > tap your name.
- Tap Password & Security.
- Tap Change Password.
- Enter your iPhone passcode (number)
- Enter your new Apple ID password in both fields and tap Change.
- Choose whether to Sign Out of Other Devices.
For more information about data transfer, click here