SECOND METHOD. “The simulated mind could be within a virtual reality or simulated world, supported by an anatomic 3D body simulation model. Alternatively, the simulated mind could reside in a computer that’s inside (or connected to) a humanoid robot or a biological body.”
https://en.m.wikipedia.org/wiki/Mind_uploading