In have two fodders i.e. source and target. In this demo it is explained that all files from source folder should be copied or update the target folder.
As show in the picture
I have created some files in source folder as below. These are four files in the source directory but no file in the target directory.
Now copy the files from source to target folder
cmd>robocopy d:\test_copy\source d:\test_copy\target /E /MIR /XA:H /R:10 /W:10
Folder files are synchronized as shown below