@@ -0,0 +1,472 @@
+package com.valerysamovich.java.trail.basic.variables.arrays;%0A%0Apublic class ArrayCopyDemo %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        %0A        // char array       0   1   2   3   4   5   6   7   8   9   10  11  12%0A        char%5B%5D copyFrom = %7B'd','e','c','a','f','f','e','i','n','a','t','e','d'%7D;%0A        %0A        char%5B%5D copyTo = new char%5B7%5D;%0A        %0A        System.arraycopy(copyFrom, 2, copyTo, 0, 7);%0A        System.out.println(new String(copyTo));%0A    %7D%0A%0A%7D%0A

Add Copying Array Example