anonyjane
No worries.
1) Install that app on both your old phone and your new GrapheneOS phone. *
2) Run the program on the old phone and create an Export file. (Include MMS)
3) Transfer that file to your new phone (USB stick, cloud drive, email it to yourself, etc.).
4) Run the program on the new phone, and Import the file from Step 2.