Fix issue with copy_plugin.cmd failing with exit code 4.

Add /r switch so xcopy will copy read-only files as well.
Merge pull request #2220 from DanRigby/master

Fix issue with copy_plugin.cmd failing with exit code 4