dd(1) if=/dev/sda of=/dev/sdb
convert and copy a file
source manpages: dd