copies an image in the clipboard to an image file in a specified directory