double biggerArray[] = new double[(int)(doubleArray.length*1.5)]; for (int i=0; i < doubleArray.length; i++) { biggerArray[i] = doubleArray[i];
double biggerArray[] = new double[(int) (doubleArray.length * 1.5)]; for (int i = 0; i < doubleArray.length; i++) { biggerArray[i] = doubleArray[i]; } return biggerArray;
  private double[] expandArray(double[] doubleArray) {    double biggerArray[] = new double[(int)(doubleArray.length*1.5)];    for (int i=0; i < doubleArray.length; i++) {      biggerArray[i] = doubleArray[i];    }    return biggerArray;  }