Both iCloud and AirDrop will help to transfer photos from your old iPhone to a new one. If you choose iCloud, you can turn on iCloud Photos on both iPhones and make sure there is a stable Wi-Fi connection on each device. Then the photos can be synced to the new iPhone automatically.