Implement strcpy strcmp substr