lv_strlcpy() function
Copies up to dst_size-1 (non-null) characters from src to dst. A null terminator is always added.
Arguments
dst
Pointer to the destination array where the content is to be copied.
src
Pointer to the source of data to be copied.
dst_size
Maximum number of characters to be copied to dst, including the null character.
Return value
The length of src. The return value is equivalent to the value returned by lv_strlen(src)