string copy,string reverse and string concatenation were completed