Fixed const char warning,

converted const char to char with strcpy C function