See RaylibTempUtils.strncpy.
void strncpy(MemoryPointer dest, MemoryPointer src, int n) => $.Utils.strncpy(dest, src, n);