copySourceFile() routines:   - abstract duplication   - fix bug in detecting that a file has already been processed   - cleanup messages
copySourceFile() routines:
  - abstract duplication
  - fix bug in detecting that a file has already been processed
  - cleanup messages


HPCToolkit/hpctoolkit,zcth428/hpctoolkit,zcth428/hpctoolkit111,zcth428/hpctoolkit111,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,zcth428/hpctoolkit,zcth428/hpctoolkit,zcth428/hpctoolkit,zcth428/hpctoolkit,zcth428/hpctoolkit111,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,zcth428/hpctoolkit111,HPCToolkit/hpctoolkit,zcth428/hpctoolkit111