delete[]array2;