set an array to another array type code example Example: assign array to another array void copy(char[] a){....} char[] a="Hello"; copy(a);