How to transfer data from my existing phone to my Nothing phone (1)?

In the setup wizard, there will be an option to copy data from an existing device, either via a Google account backup or by connecting the two devices with a cable.