The following command copies and moves a file but I also need it to overwrite the file it\'s replacing.
xcopy /s c:\\mmyinbox\\test.doc C:\\myoutbox
If destination file is read only use /y/r
/y/r
xcopy /y/r source.txt dest.txt