replace memcpy_s bu memcpy. memcpy is cross-platform