code: function copy(files, options) {
      var copied = false
      files.forEach(function(file) {
        var src = file.src
        // Use source for destination if no destionation is available
        // This is done here so globbing can use the original dest
        var dest = file.dest || src
  
        // Add source prefix if not already added
        if (src.indexOf(options.srcPrefix + path.sep) !== 0) {
          src = path.join(options.srcPrefix, src)
        }
  
        // Add dest prefix if not already added
        if (dest.indexOf(options.destPrefix + path.sep) !== 0) {
          dest = path.join(options.destPrefix, dest)
        }
  
        // Copy main files if :main is specified
        var main = rmain.exec(src)
        if (main) {
          copied = copy(getMain(main[1], options, dest), options) || copied
          return
        }
  
        // Copy folders
        if (grunt.file.isDir(src)) {
          grunt.file.recurse(src, function(abspath, rootdir, subdir, filename) {
            copied = true
            grunt.file.copy(abspath, path.join(dest, subdir || '', filename), options.copyOptions)
          })
          log.writeln(src + ' -> ' + dest)
          // Copy files
        } else if (grunt.file.exists(src)) {
          if (!rperiod.test(path.basename(dest))) {
            dest = path.join(dest, path.basename(src))
          }
          copied = true
          grunt.file.copy(src, dest, options.copyOptions)
          log.writeln(src + ' -> ' + dest)
          // Glob
        } else {
          var matches = glob.sync(src)
          if (matches.length) {
            matches = convertMatches(matches, options, file.dest)
            copied = copy(matches, options) || copied
          } else {
            log.warn(src + ' was not found')
          }
        }
      })
      return copied
    }
docs: Copy over specified component files from the npm directory
  files format: [{ src: '', dest: '' }, ...]
  @param {Array} files
  @param {Object} options
  @returns {boolean} Returns whether anything was copied