Texas Instruments interview question

In 2nd round they asked some basic coding questions, like copying a string from another in C without using any sophisticated libraries