Ok but thats not really repeat G-code it's cutting 4 Identical parts in the same Gcode program. It's Repeat tool-paths really.!
All your actually doing is copying the same tool paths in 4 different locations but in the same Work Offset (G54). Creating one large G-code program with the same tool paths calculated at different locations.

Don't really matter in this day n age of modern controls and large PC memory but this would create a massive file size compared to repeating g-code like I mentioned. . . BUT. . It's doing what you want and that's all that really matters..