What dungeon-based game has a mirror that creates a replica of your character?
That's the original Prince of Persia game. Fun fact: It actually came out for computers pre-PC days, on the Apple IIe.
That appears to be Prince of Persia. See link to more details.