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