Replacing strcpy with direct assignment as (ksp|pc)type should be const char*