fixed fcs in copying
minor improvements for copying files
minor fix
another try to fix copying fcs
Merge remote-tracking branch 'upstream/master'