You can use the cp command in Hadoop. This command is similar to the Linux cp command, and it is used for copying files from one directory to another directory within the HDFS file system. You can see the below example.
$ hadoop fs -cp /user/data/sample1.txt /user/hadoop1
For details, You can even check out Hadoop Ecosystem tools with the Hadoop big data course.