$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvda 202:0 0 8G 0 disk
mqxvda1 202:1 0 8G 0 part /
xvdf 202:80 0 1000G 0 disk
tqxvdf1 202:81 0 350M 0 part
mqxvdf2 202:82 0 186.7G 0 part
xvdg 202:96 0 240G 0 disk
$ sudo fdisk -l -u /dev/sdf
Disk /dev/sdf: 1000 GiB, 1073741824000 bytes, 2097152000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xaa53c8bf
Device Boot Start End Sectors Size Id Type
/dev/sdf1 * 2048 718847 716800 350M 7 HPFS/NTFS/exFAT
/dev/sdf2 718848 392294399 391575552 186.7G 7 HPFS/NTFS/exFAT
$ sudo fdisk -l -u /dev/sdg
Disk /dev/sdg: 240 GiB, 257698037760 bytes, 503316480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
$ sudo dd if=/dev/sdf of=/dev/sdg bs=512 count=1
$ sudo dd if=/dev/sdf1 of=/dev/sdg1 bs=1M
350+0 records in
350+0 records out
367001600 bytes (367 MB) copied, 5.28796 s, 69.4 MB/s
$ sudo dd if=/dev/sdf2 of=/dev/sdg2 bs=1M
191199+0 records in
191199+0 records out
200486682624 bytes (200 GB) copied, 3134.87 s, 64.0 MB/s
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvda 202:0 0 8G 0 disk
mqxvda1 202:1 0 8G 0 part /
xvdf 202:80 0 1000G 0 disk
tqxvdf1 202:81 0 350M 0 part
mqxvdf2 202:82 0 186.7G 0 part
xvdg 202:96 0 240G 0 disk
tqxvdg1 202:97 0 350M 0 part
mqxvdg2 202:98 0 186.7G 0 part
$ sudo fdisk -l -u /dev/sdg
Disk /dev/sdg: 240 GiB, 257698037760 bytes, 503316480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xaa53c8bf
Device Boot Start End Sectors Size Id Type
/dev/sdg1 * 2048 718847 716800 350M 7 HPFS/NTFS/exFAT
/dev/sdg2 718848 392294399 391575552 186.7G 7 HPFS/NTFS/exFAT