Here you can find the source of copyBytesWithin(byte[] bytes, int target, int start, int end)
static void copyBytesWithin(byte[] bytes, int target, int start, int end)
//package com.java2s; /* Copyright 2015 Google Inc. All Rights Reserved. /*from www . jav a 2s. c o m*/ Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ public class Main { static void copyBytesWithin(byte[] bytes, int target, int start, int end) { System.arraycopy(bytes, start, bytes, target, end - start); } }