Have you considered giving reading comprehension a try?
Fixed-size strings are strings, just not nul-terminated strings. So are length-prefixed (“pascal”) strings.
Strncpy does not work with nul-terminated strings as I noted. If you’re working with fixed-size nul-padded strings however it’s the correct function to use.
> Have you considered giving reading comprehension a try?
Don't do this.
Calling your bespoke byte-sequence data structure a "string" is inaccurate and viewing strncpy() as a string function is erroneous and will lead to buffer overflows.