@@ -0,0 +1,1010 @@
+package com.njust.test;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0A/**%0A * System.arraycopy(Object src,  int  srcPos, Object dest, int destPos, int length);%0A */%0Apublic class ArrayCopyDemo%0A%7B%0A    @Test%0A    public void test01()%0A    %7B%0A        int%5B%5D src = %7B1, 2, 3, 4, 5%7D;%0A        int%5B%5D dest = new int%5Bsrc.length%5D;%0A        System.arraycopy(src, 0, dest, 0, 5);%0A        %0A        Assert.assertArrayEquals(src, dest);%0A    %7D%0A    %0A    @Test%0A    public void test02()%0A    %7B%0A        int%5B%5D src = %7B1, 2, 3, 4, 5%7D;%0A        %0A        int%5B%5D dest = new int%5B3%5D;%0A        System.arraycopy(src, 0, dest, 0, 3);%0A        Assert.assertArrayEquals(new int%5B%5D %7B1, 2, 3%7D, dest);%0A        %0A        System.arraycopy(src, 0, dest, 0, 3);%0A        Assert.assertArrayEquals(new int%5B%5D %7B1, 2, 3%7D, dest);%0A        %0A        System.arraycopy(src, 1, dest, 0, 3);%0A        Assert.assertArrayEquals(new int%5B%5D %7B2, 3, 4%7D, dest);%0A        %0A        System.arraycopy(src, 2, dest, 0, 3);%0A        Assert.assertArrayEquals(new int%5B%5D %7B3, 4, 5%7D, dest);%0A    %7D%0A%7D%0A

Create ArrayCopyDemo.java