The individual gets the genetic code of a deceased person using that towards fresh stem cells (becomes a fetus) in which the newborn later on inherits the genetic traits that person but what remains a mystery is: will they also inherit the same behavior or mannerisms as that individual? Genes only carry attributes of a individual (appearance, hair color, eyes, etc). rather than their attitude (personality).
As from their genetic code, they look & resemble that person but will they act the same? Will they possess the same memories as that person? They may resmble someone you once knew however behave like a complete stranger, so it’s rather a gamble plus despite them looking like someone you know: is it really them or another stranger despite the very similar appearance and physical traits they have?


You’re basically asking nature vs nurture, a question that’s been debated for a long time.
Will they have the same memories? Obviously not.
Will they have the same mannerisms, habits, traits, etc? Probably at least some. There have been a lot of case studies of identical twins separated at birth trying to answer this sort of thing.
Will they be the same person? Absolutely not.