3D models aren’t tied to Unity, so all 3D models could probably easily be imported to Unreal.
Unity also has a 3D model exporter, so they could have used that to get all 3D models positions into Unreal within minutes.
E: still stuff like animations and game logic obviously take more time. Not trying to say that porting a whole game can be done in minutes, just the 3D Models.