public void concatPath(String[] otherNodes) {
    int len = nodes.length;
    this.nodes = Arrays.copyOf(nodes, nodes.length + otherNodes.length);
    System.arraycopy(otherNodes, 0, nodes, len, otherNodes.length);
    fullPath = String.join(TsFileConstant.PATH_SEPARATOR, nodes);
  }
It will change nodes in this partial path

@param otherNodes nodes
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/PartialPath.java