By default, copying from the command prompt will prompt you to overwrite files that already exist in the target location.
You can add \"/Y\" to say \"Yes to all\" re
Depending on the size and number of files being copied, you could copy the destination directory over the source first with "yes to all", then do the original copy you were doing, also with "yes to all" set. That should give you the same results.
this works fine
no | cp -rf c:\source c:\Dest\