Saving Notes when I change an Android phone
Are you using some specific note taking app (i.e., google keep, color note)? If yes, these app has exporting options inbuilt, check out.

Color note backup and sync