Java tutorial
//package com.java2s; public class Main { public static byte[] deconcatenateBytes(byte[] input, byte[] iv) { byte[] res = new byte[input.length - iv.length]; System.arraycopy(input, 0, iv, 0, iv.length); System.arraycopy(input, iv.length, res, 0, res.length); return res; } }