Finish working on Copy command undo.