why not strncpy?

and this should probably be in the .cc file not the .h file.