help transferring tar files from cdrom to hard drive

alright guys, this is a pretty noob question but I need a script that will take a tarred folder "Animals" from cd and copy and extract it to replace an existing folder on hard drive called "Animals". (to give us more variations for another program which we don't need to worry about here), take the original contents of the harddrive folder "Animals" and move to a temp folder that we create called "Animals_Temp". Then once we want to be able to press esc at any time to restore back to normal( basically replace "Animals" folder with the original files now located in the "Animals_Temp" folder). Thanks in advance for your help guys.

mv Animals Animals_temp
tar xf /mnt/cdrom/Animals.tar ## adjust as necessary

Bind this command to your escape key:

mv -f Animals_temp Animals