char strA[] = "Hello."; //{ 'H', 'e', 'l', 'l', 'o', '.', '\0' }, size = 7
char *strB = newchar[10]; //can hold up to a 9 character string (not including the ending '\0')
size = 10; //copy up to the first 10 characters, strB can't hold more then that!
stringCopy( strB, strA, size );
Think about what you want it to do with the array stored at strA.
Think about where you want it to stop.
Try it with char strA[] = "Hello, world."; and then think about where you want it to stop.
Hint: You will likely need a loop for this function.