small device copying program

Hi,
i plan to create a small program that can read a USB device and then create an exact image of this device (.dd image?? ive herd things about this).

Anyway i think im in the correct section of the forum. Can anyone give me any advice on how create a copy of the device, point me in the direction of resources?? any help would be much appreciated!
[364 byte] By [tootypegs] at [2007-11-20 11:41:17]