Modify strcat using strcpy;
'restrict' can't be used, it will cause compile error if I try to use it.