Java tutorial
//package com.java2s; /******************************************************************************* * Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/org/documents/edl-v10.php. *******************************************************************************/ public class Main { /** * Puts the entire <tt>source</tt> array in the <tt>target</tt> array at offset <tt>offset</tt>. */ public static void put(byte[] source, byte[] target, int offset) { System.arraycopy(source, 0, target, offset, source.length); } }