I\'m aware of the fact that I could just do a:
while(Arrays.equals(array1, array2))
and then just write the code needed in the else>
else>
if ( !Arrays.equals(array1, array2) ) // their contents are not equal