Robocopy takes advantage of the Server Message Block (SMB) protocol to copy files between 2 hosts. Robocopy can also allow you to copy files and directories to another location. It replaces the XCOPY command functionally because it has more options.