Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

public class Main {

    public static byte[] arrayCopy(byte[] old_src, byte[] new_src) {
        byte[] des = new byte[old_src.length + new_src.length];
        System.arraycopy(old_src, 0, des, 0, old_src.length);
        System.arraycopy(new_src, 0, des, old_src.length, new_src.length);
        return des;
    }
}