I recently posted this tutorial on my new blog. It's essentially the methodology behind recording instant replays in a game. This technique has been used in Starcraft, and a more advanced implementation was used to manipulate time in Braid.

Any feedback is appreciated!