copy() in cpp code example
Example: string copy in cpp
//use '=' to copy string
string s1={"Hello"};
string s2;
s2=s1; //now s2 will have a copu s1
//use '=' to copy string
string s1={"Hello"};
string s2;
s2=s1; //now s2 will have a copu s1