title: How to copy values from one pointer to another
body: <p>I have the following pointer:</p>
  
  <pre><code>jfloat *verticesLocal;
  </code></pre>
  
  <p>And I want make a new copy to:</p>
  
  <pre><code>jfloat *vertices;
  </code></pre>
  
  <p>I want to copy the values from <code>verticesLocal</code> to <code>vertices</code>.</p>
  
  <p>How can I do that? I've just tried the following command, but it doesn't work:</p>
  
  <pre><code>memcpy(vertices, verticesLocal, numVerticesLocal * sizeof(jfloat));
  </code></pre>
  
  <p>I can't see the error because I'm working with Android native code. Sorry.</p>