Here you can find the source of arrayDelete(byte[] array, int length)
public static byte[] arrayDelete(byte[] array, int length)
//package com.java2s; //License from project: Open Source License public class Main { public static byte[] arrayDelete(byte[] array, int length) { byte[] newArray = new byte[array.length - length]; System.arraycopy(array, length, newArray, 0, array.length - length); return newArray; }//from www.ja v a 2 s .c om }