how to copy pointer to pointer.
char *name1; //store the value of DAVE
char *name2;
if name2 was a array i would have done.
strcpy(name2,name1);
but i dont know how to copy pointer into pointer.
i was thinking some thing like this.
name2 = name1?
also do i need to test malloc for name2?