I was just thinking if you made a robotic body to transplant your brain into you would need to have the brain active in both bodies for it to be confirmed working. Essentially they would have to be synced 100%.
This would mean that equally to how you can control the robotic body and mind, the robot version of you needs to be able to control your body because they are now one. You can then ensure that when unplugging the body from the robotic body that no lapse in memory has happened and it is the same active person not just a copy.
Essentially you don’t want it to be just two copies you want it to be one that is many, just the many will be reduced to one if one chooses to.