Realities uniquely refer to one of three mutually exclusive properties of Realm.Configuration :
fileURLinMemoryIdentifiersyncConfiguration
Realm configurations with any of these properties with different meanings will relate to individual areas.
So, your original value is fileURL (with nil for the other two properties), while your second Kingdom has syncConfiguration (with nil for the other two properties), so they refer to separate Realms.
If you want to copy data from the first (local) Realm to the second (synchronized) Realm, you can do this using the Realm API for reading objects and creating objects in the same way as for any other data.
jpsim source share