Added word_copy() function