C struct local copy inside a function : <p>I have a struct named "point", and an array of "points", named "A[N]". 
I also have a function, where I want to have a local copy of "A".
How should I do in order to optain a local copy of "A", inside the function?</p>

<pre><code>struct point A[N];
int function(struct point *A)
{
   struct point *ALocal;

   ...

}
</code></pre>
