When you transfer data through iCloud or iTunes, third-party apps like WhatsApp might be included in the backup and restored on your new iPhone. However, the inclusion and transfer of app data may vary depending on the specific app.