I don't believe/think that consciousness/awareness is a property that can emerge from running a brain or a brain model.
But, even if it were: a computer simulating my brain will not be me; I will not experience what it experiences.
Suppose someone came from the future and claimed to be "me"; that is, 20 years from now I will go to the past; or something like that. Let's call the future me F and the present me P. I'm P, when P sees the color red, it's me who's seeing it. But, when F sees the color red, P doesn't experience the same thing. (it will experience it 20 years later, when it becomes F).
So if a clone of me experiences something; I won't experience it.
So if you upload my memories to a brain and then torture that brain, you wouldn't be torturing me; you'd be torturing a machine that happens to have my memories. In the same sense that if you clone me then torture my clone, he will experience the pain; but I won't.
If I do experience the pain of my clones, then we (me and my clones) must be telepathically communicating, or something like that, which, while philosophically not impossible, it's not compatible with physicalism, which you have to accept if you think consciousness can arise from running a brain model. I say telepathy is not compatible with physicalism because telepathy implies a super-natural communication between minds (where minds are implies to be super-natural entities).