program to copy contents of one string to another