int index;  this.sizes = new int[sizes.length]; for (index = 0; index < sizes.length; index++) this.sizes[index] = sizes[index];
this.sizes = (int[]) sizes.clone();
  public void setSizes(int[] sizes)  {    int index;    // Initialize sizes.    this.sizes = new int[sizes.length];    for (index = 0; index < sizes.length; index++)      this.sizes[index] = sizes[index];  }