code: public ConnectionParams copy() {
          ConnectionParams copy = new ConnectionParams(host, username, password, schema);
          return copy;
      }
docs: Constructs a new object that copies the fields from this instance.
  @return the new object