I need to randomly rearrange the indices in an Array

That’s it! I understand how Math.random works, and I understand how Arrays work, but I don’t understand how to either rearrange the indices of an existing Array, or how to populate it from another Array in a random sequence without an index possibly repeating.

If somebody could briefly give me an idea, I can probably figure out the exact script.

Thanks much!