Use Samsung Cloud. On your old device, go to Settings > Cloud and accounts > Apps > Samsung Cloud and make sure Samsung Notes is turned on. On your new device, open Samsung Notes and select Settings under Import data from Samsung account, then choose Sync with Samsung Cloud.