单项选择题

函数调用:strcpy(str1,str2)的功能是()。

A.将串str1复制到串str2中
B.将串str2复制到串str1中
C.将串str2连接到串str1之后
D.将串str1连接到串str2之后