Updated to be compatible with Java 1.5
Updated to be compatible with Java 1.5

Replaced Arrays.copyOf() and Arrays.copyOfRange() references with System.arraycopy() for compatibility with Java 1.5
voidifremoved/gelfj,t0xa/gelfj