docs: function copy (from, to) {
    return Object.assign(
      function (context) {
        return function (prevConfig) {
          context.copyPlugin = context.copyPlugin || {patterns: []}
  
          // Merge the provided simple pattern into the config
          context.copyPlugin = _extends({}, context.copyPlugin, {
            patterns: [].concat(context.copyPlugin.patterns, [
              {from: from, to: to},
            ]),
          })
  
          // Don't alter the config yet
          return prevConfig
        }
      },
      {post: postConfig}
    )
  }