CDRIVER-4091 - Truncation in strncpy() causes build error (#829)
CDRIVER-4091 - Truncation in strncpy() causes build error (#829)

https://jira.mongodb.org/browse/CDRIVER-4091

gcc 9.3.0 complains that because the strncpy() call uses the source's size as a bound,
the trailing NULL will not be copied.

Replaced with:
updated allocation size of destination to include room for the NULL character
eliminated redundant srlen()
changed strncpy() call to strcpy(), which includes the trailing NULL

Signed-off-by: Jesse Williamson <cf70f4d1052416ff34d2b50dffc34febbff945b9@mongodb.com>
jmikola/mongo-c-driver,jmikola/mongo-c-driver,rcsanchez97/mongo-c-driver,rcsanchez97/mongo-c-driver,rcsanchez97/mongo-c-driver,jmikola/mongo-c-driver,beingmeta/mongo-c-driver,rcsanchez97/mongo-c-driver,mongodb/mongo-c-driver,beingmeta/mongo-c-driver,mongodb/mongo-c-driver,mongodb/mongo-c-driver,jmikola/mongo-c-driver,rcsanchez97/mongo-c-driver,beingmeta/mongo-c-driver,mongodb/mongo-c-driver,rcsanchez97/mongo-c-driver,jmikola/mongo-c-driver,jmikola/mongo-c-driver,beingmeta/mongo-c-driver,beingmeta/mongo-c-driver,mongodb/mongo-c-driver,jmikola/mongo-c-driver,beingmeta/mongo-c-driver,mongodb/mongo-c-driver,mongodb/mongo-c-driver,beingmeta/mongo-c-driver,rcsanchez97/mongo-c-driver,beingmeta/mongo-c-driver