record_type is a member of a structure SYS_CORRESP_STRUCT and is a char array.
where as recordType which comes from Java Front END is defined as
string recordType;

So my question is instead of using strcpy what if I use std:string to copy the value from input to output ?
if yes then how ?