Next time try searching before making new post.
First you could've just looked in the script forum. Right on the first page there's
[REL] Unlimited Movesaver.
Next
here you can search for scripts. Searching for "move" will show you MoveMemory.lua, exactly what you want. Ok, there's no description to the script but it will tell you everything you need.
Last but not least you could google "Toribash move saver". The first link is
this, the forum thread to MoveMemory.lua, called [REL] Unlimited Movesaver.
Three easy steps which all show you that script.