Question: how to transfer your data to your new iphone on macos mojave?
Answer: Plug your old iPhone into your Mac running macOS Catalina. Click on the Finder icon in the Dock to open a new Finder window. Click on your iPhone under Locations. ...  Click Trust if you're asked to trust your iPhone. Click the checkbox for Encrypt Local Backup.