I attempted to copy contents of one partition to another using cp -R /media/richard/myrepo /media/richard/test /media/richard/myrepo is a hard disk partition /media/richard/test is a USB flash drive