public Node copy() throws IOException { FileSystemNode copy = new FileSystemNode(getBounds(), id, getParent(), buffer, subNodeStartByte, subNodesLength ); copy.numShapesId=numShapesId; copy.shapesId=new int [numShapesId]; System.arraycopy(shapesId, 0, copy.shapesId, 0, numShapesId); copy.numSubNodes=numSubNodes; return copy; } /**