This was also the premise of the Battlestar Galactica prequel "Caprica." The father of A.I. created a digital copy of his recently deceased daughter based on her digital trail from life. The copy struggles with her existence in an artificial environment, initially being unaware she was in one. It was interesting how they tied her existence into the eventual rise of religious monotheism and the emergence of the Cylons. Underrated show.