3 ms·Or strncpy, if you'd like to stay within the standard and your strings are small.by saagarjha 7y agoOr strncpy, if you'd like to stay within the standard and your strings are small.