Magazine compatibility with E&C M4s

Hi, was wondering about the magazine compatibility of E&C M4s. I was thinking about purchasing an XM177 soon, but I wanted to be sure that my EPM mags would fit.
The reason why I am asking is because I have a JG M4 which struggles to take and has dented the feed lips of my EPM mags.
Thanks

Can’t take your EPM mag in and test fit it before purchase?