code: public Map<String, String> copyTo(Map<String, String> map) {
      map.putAll(environmentVariables().toMap());
      return map;
    }
docs: Copies the contents of this {@link Environment} to the given {@link Map}.
  
  @param map {@link Map} in which to copy the contents of this {@link Environment}.
  @return the given {@link Map}.
  @throws NullPointerException if {@link Map} is {@literal null}.
  @see #environmentVariables()
  @see java.util.Map