ArrayUtil.java class in Java. Redundant as fuck.