title: How does memcpy works with void pointers?
body: <p>I am trying to memcpy from one ptr to another. I know the size that I want to copy. Both the destination and source pointers are void pointers. Is this valid? Does it actually copy the ELEMENT_SIZE (integer like 128) from source to the destination? I know this is not the most ideal thing to do. But I want to know if this works.</p>
  
  <pre><code>memcpy(to_add, element_ptr, ELEMENT_SIZE);
  </code></pre>