code: public static boolean arraysEqual(Object[] array1, Object[] array2) {
  		if (array1 == null || array1.length == 0 || array2 == null || array2.length == 0)
  			DialectException.throwEX("StrUtils arraysEqual() method can not compare empty arrays");
  		for (int i = 0; array1 != null && array2 != null && i < array1.length; i++)
  			if (!array1[i].equals(array2[i]))
  				return false;
  		return true;
  	}
docs: Compare 2 array
  
  @return true if each item equal