Override files when copying

Added options to override files when copying (in method executeQueryCopy)
Merge pull request #1487 from mbed67/fileio

Override files when copying