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