Light (anti-)nuclei in relativistic heavy-ion collisions are considered to be formed by the coalescence mechanism of (anti-)nucleons in the present work. Using a dynamical phase-space coalescence model coupled with a multi-phase transport (AMPT) model, we explore the formation of light clusters such as deuteron, triton and their anti-particles in different centralities for 197 Au + 197 Au collisions at √ sNN = 39 GeV. The calculated transverse momentum spectra of protons, deuterons, and tritons are comparable to those of experimental data from the RHIC-STAR collaboration. Both coalescence parameters B2 for (anti-)deuteron and B3 for triton increase with the transverse momentum as well as the collision centrality, and they are comparable with the measured values in experiments. The effect of system size on the production of light nuclei is also investigated by 10 B + 10 B, 16 O + 16 O, 40 Ca + 40 Ca, and 197 Au + 197 Au systems in central collisions. The resultsshow that yields of light nuclei increase with system size, while the values of coalescence parameters present an opposite trend. It is interesting to see that the system size, as well as the centrality dependence of BA (A = 2, 3), falls into the same group, which further demonstrates production probability of light nuclei is proportional to the size of the fireball. Furthermore, we compare our coalescence results with other models, such as the thermal model and analytic coalescence model, it seems that the description of light nuclei production is consistent with each other.