code: public void copyValuesFromTo(Map<String, Object> otherMap, Map<String, Object> map) {
          map.putAll(otherMap);
      }
docs: Adds all values in the otherMap to map.
  @param otherMap to obtain values from.
  @param map map to store value in.