Compare « Array « Flash / Flex / ActionScript

1.Array reference
2.Create a duplicate copy of an array that is separate from the original using concat( ):
3.Using an equality operator with two array variables only checks to see if they point to the same spot in memory.
4.if two arrays are equivalent yet don't point to the same spot in memory, an equality operation returns false:
5.Loop through each of the elements of the arrays and compare them