How can i insert a pause/Resume command when copying files/directories?