Implemented ArrayUtil.