It should work like intended without parenthesis since the assignment operator has...
Performance optimization: replaced strcpy() with memcpy()