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