Watchfire Signs interview question

How would you implement a string copy function?