You can move all your WhatsApp messages to a new phone, whether it's an iPhone or Android, as you're first setting it up.
You can use a USB cable or just your Google account to connect a Google Pixel phone to your computer. Here's how to do both, on either a Mac or PC.