The P10c and P-07 can share the same mags, provided they have all the right cutouts for the mag catch. I think the newer mags are being made with cuts to work with all variants of the P10c and P-07, but that is based on what I've read and not experience. The early P07 mags did not include cuts for the P10c, so chances are if the mags are from a Duty version (which is the first Gen P07) then they will not have cuts for the P10c.
Also, CZ changed the mag catch design on the P10c a couple years ago which also changed the position of the cutout on the mags. So, mags that came with an older version of the P10c most likely will not have the cutout to work with the redesigned mag catch. If you google it, you can probably find images that shows the differences between the different version of mags. Or someone may post it for you.