Is there a way to image the contents of a partition on one hard drive to
a partition on another hard drive in the same machine. I have a drive
going out on a computer and the only way I know how to do it is copy the
contents of that drive up to an image file on the server, then recopy
that image back down to the new drive.

I was trying to figure out how to do it all within the one machine and
cut out a step. Is this possible? I don't know enough about Linux, yet,
to know how to do this.