A disk image is a single computer file containing the complete contents of a device that contains data , such as a hard drive , tape drives , floppy disk , CD\/DVD\/BD \/ and key drive . A disk image is a single file or storage device containing the complete contents and structure representing a data storage medium or device , such as a hard drive , tape drives , floppy disk , CD\/DVD\/BD and key drive , although an image of an optical disc may be referred to as an optical disc image .