Optimized Array Handling in JRE impl

I optimized some code in the JRE Arrays class. This made JBox2D run x-times faster.
I'd rather focus on improving check cast function implementation that is very slow by now.