Override files when copying

Added options to override files when copying (in method executeQueryCopy)