Dont use strncpy(). Doesnt works! :(