Working with two arrays with same elements but different indexes : <p>Imagine that we have two string arrays (name it A and B) with 1000 cells. A contains 1000 words but the B is null.</p>

<p>Now I want to copy each element of A to B but there should not be any relation or sequence between the element’s index in A and B, atleast harldy recognizable.</p>

<p>At the end array A will be nulled so I have to use array B, but I want to get the actual index of an element (index that the element has in array A).</p>

<p>Can u suggest any approach to solve this problem? (using a key or an equation to generate indexes would be nice)</p>
