copy() prototype

use: copy the content into dystr
copy() definition

use: copy the content of str into dystr