code: protected boolean arraysEqual(Object[] a1, Object[] a2) {
  		if (a1 != null && a2 != null && a1.length == a2.length) {
  			// Loop over each element and compare them using our comparator
  			for (int i = 0; i < a1.length; i++) {
  				if (!equalByComparator(a1[i], a2[i])) {
  					return false;
  				}
  			}
  			return true;
  		}
  		else if (a1 == null && a2 == null) {
  			return true;
  		}
  		return false;
  	}
docs: Compare two arrays for equality using the configured comparator.
  
  @param a1 First array to compare
  @param a2 Second array to compare
  @return boolean true if they are equal