Copy the photos off the old device first
A phone plugged into a laptop with the photo folder open
Plug the old phone or computer into a computer with a cable and copy the photos across, or copy them to an external drive. Do not skip this. It is the difference between a relaxed move and a disaster.