Program to copy a string