Except that this loop goes to 2*size whereas `Arrays.deepEquals` could also loop over a bunch of trailing null entries. It would still get the right answer but could be less efficient.