[BACKLOG-194] -- add unit tests for doCopyFiles