Move element of array to specific position
<p>How to move element of array to specific position on Android JAVA.
We have</p>

<pre><code>int oldPosition, int newPosition
</code></pre>

<p>and some like</p>

<pre><code>JSONObject[] tmp = new JSONObject[999];
</code></pre>

<p>array of <code>JSONObjects</code></p>