Professionally built disk imaging software is without doubt the best way of imaging a hard disk drive. Such software is usually built into commonly available backup software titles and, once enabled, will allow all contents of a hard disk to be backed up into an image file (although it should be noted that this same software will usually also be required for restoring form said image files in the future as well).