title: Remove "hole" in array after remove item
body: <p>I need to delete some objects from an array if they meet a condition.</p>
  
  <p>After removing the object from the array I need the array to have no "holes", meaning I need to shrink the array: not the array size, but reducing the number of objects it contains. </p>
  
  <p>It's okay if there are null values at the end of the array after removing objects.</p>
  
  <p>Which would be more efficient?</p>
  
  <ol>
  <li>Copying the array into new array</li>
  <li>Iterating over the array and shift the elements over the "hole" created by removing an object</li>
  </ol>
  
  <p>I <em>must</em> use an array, I cannot use a <code>List</code> implementation.</p>