How to divide array into small arrays?
<p>I have an array with 3200 values. A user chooses a number (let's say 50). I want to divide the big array into smaller arrays, each of them containing 50 values (the last one containing the remainder).</p>

<p>How would you do that?</p>
