Base on Exports the entity as a RealityKit file to a location in the file system.
let originalEntity = Entity()
let tempDirectoryURL = Foundation.FileManager.default.temporaryDirectory
let fileURL = tempDirectoryURL.appendingPathComponent("myscene.reality")
do {
try await originalEntity.write(to: fileURL)
} catch {
print("Failed to write reality file to '\(fileURL)', due to: \(error)")
}