In copyFiles, check if entry is glob before treating it as such