docs: function set(from, to) {
      for (var key in to) {
          if (!from.hasOwnProperty(key)) {
              continue;
          }
  
          var value = from[key];
  
          if (value instanceof Array) {
              to[key] = [].concat(value);
          } else {
              to[key] = value;
          }
      }
  
      return to;
  }