You can transfer contacts from an Android phone to another Android by syncing them to a Google account, or by sending a vCard ...
Your passwords can be stored on an Android phone in your Google Chrome app, which is linked to your Google account.