单项选择题

下面代码实现输入二个字符串,将字符串2复制到字符串1,空白处应填入的语句是()

A.strcmp(str1,str2);
B.strcat(str1,str2);
C.strcpy(str2,str1);
D.strcpy(str1,str2);