Array names are constant pointers you can not modify them. In this scenario Icon is a constant pointer and
context->Icon = pEntity->cBigIcon;
here you are trying to modify it, which is not allowed.
Try this ..
strcpy(context->Icon,pEntity->cBigIcon);