What you would need is a Ship of Theseus approach - preserving the consciousness stream while neuron after neuron is being replaced by a digital version, slowly, to convince the stream into thinking it's still the same. You can't just take a single scan; you have to keep scanning continuously and keep a running feedback stream between the (decreasing) wetbrain and the (increasing) bitbrain to ensure the illusion of continuity.
(But to be honest, I don't actually believe in consciousness or a Self. Whoever started writing this short comment wasn't 'me', and neither am I, nothing is)