public MeasurementPath concatAsMeasurementPath(PartialPath partialPath) {
    int len = nodes.length;
    String[] newNodes = Arrays.copyOf(nodes, nodes.length + partialPath.nodes.length);
    System.arraycopy(partialPath.nodes, 0, newNodes, len, partialPath.nodes.length);
    return new MeasurementPath(newNodes);
  }
it will return a new partial path

@param partialPath the path you want to concat
@return new partial path
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/PartialPath.java