strcpy copies without a length limit and can overflow the destination buffer.
Use strncpy or strlcpy with an explicit bounded size and ensure null termination.