Optimized Array Handling in JRE impl

I optimized some code in the JRE Arrays class. This made JBox2D run x-times faster.
<T extends Comparable<T>>
that would save you a cast, what do you think?