replace strcpy with memcpy for nickname string;