Libgdx Array | removeAll causes error
<p>I am not new to arrays, but this is a very strange error. Whenever I try to call the removeAll method on a libgdx array, and I pass in the same array I called it on (To remove every element in the array) it causes this error :</p>

<p>Exception in thread "LWJGL Application" java.lang.IndexOutOfBoundsException: index can't be >= size: 2 >= 1</p>

<p>Keep in mind that I'm passing in the same array that is calling the removeAll method. I need to be able to clear the array so I can reuse it instead of creating lots of arrays.</p>