Added support for copying an image to the cache directory without applying any operations to it.