package com.citigroup.ap.rebt.arraycopy.test;
import com.citigroup.ap.rebt.arraycopy.util.ArrayCopyUtil;
public class ArrayCopyUtilTest extends ArrayCopyUtil{
public static void main(String args[]) {
char[] src = {'3','3','0','2','8','2','1','2','5','6'};
char[] dest = new char[100];
int srcPos = 3;
int destPos = 5;
int length = 8;
if(length<=src.length-srcPos){
arrayCopy(src,srcPos,dest,destPos,length);
}else{
System.out.println("the length out of bounds exception");
}
}
}