jodd-core/src/main/java/jodd/util/ArraysUtil.java
public static <T> T[] subarray(T[] buffer, int offset, int length) {
		Class<T> componentType = (Class<T>) buffer.getClass().getComponentType();
		return subarray(buffer, offset, length, componentType);
	}
public static <T> T[] subarray(T[] buffer, int offset, int length) {
		Class<T> componentType = (Class<T>) buffer.getClass().getComponentType();
		return subarray(buffer, offset, length, componentType);
	}
public static < T > T [ ] subarray ( T [ ] buffer , int offset , int length ) { Class < T > componentType = ( Class < T > ) buffer . getClass ( ) . getComponentType ( ) ; return subarray ( buffer , offset , length , componentType ) ; }
Returns subarray.
Returns subarray .