Yes, if you get a new device you can transfer your saves and everything. Just make sure you have everything backed up either on iCloud or your computer
Generally, I have my device backup to iCloud whenever it’s connected to a wireless network (and does so while I’m sleeping, usually). I’ll still, just in case, back it up to my laptop at least twice/month.