Some people seem to think that C\'s strcpy() function is bad or evil. While I admit that it\'s usually better to use strncpy() in order to avoid bu
strcpy()
strncpy()
strlen finds upto last null terminating place.
But in reality buffers are not null terminated.
that's why people use different functions.