Added generic strcpy implementation