title: Deletion Using memcpy in an array
body: <p>Given an index and an array of integers, I need to delete the element in the given array which was stored in the given index through the use of <code>memcpy()</code>. The new set of elements will be stored on the given array.</p>
  
  <p>Here's an illustration of what I want to do, though I'm having trouble implementing it.</p>
  
  <p><img src="https://i.stack.imgur.com/Hef2f.jpg" alt="enter image description here"></p>
  
  <p>So <code>arrayElem</code> after deleting 10 would look like this:</p>
  
  <p><img src="https://i.stack.imgur.com/brl5K.jpg" alt="enter image description here"></p>