strncpy2 seems to work