If you want to get into some of the literature around mind uploading, I'd start with some of Daniel Dennett's work such as "Consciousness Explained". If you think that it's possible for a computer program to have its own sense of self, then it's interesting to think about what it would feel like for that program to be stopped, copied to a new computer, and then started again. There's definitely a lot of literature and debate around these issues!