ArrayUtils: use ObjectArray instead of ArrayList

The ObjectArray is superior in many respects, so let's use it.