To copy a file, use the cp command.
cp /root/sample.txt /root/newfile.txt
To duplicate the whole directory:
cp -r /root/olddir /root/newdir
To avoid mistakenly overwriting existing files using cp.
cp -i /root/sample.txt /root/newfile.txt
If the file already exists in the destination, it will prompt you whether you want to overwrite the existing file.