We present a systematic analysis of two-pion interferometry for the central Au+Au collisions at √SNN=3, 5, 7, 11, 17, 27, 39, 62, 130 and 200 GeV/c with the help of a multiphase transport (AMPT) model. Emission source-size radius parameters Rlong, Rout, Rside and the chaotic parameter A are extracted and compared with the experimental data. Transverse momentum and azimuthal angle dependencies of the HBT radii are also discussed for central Au+Au collisions at 200 GeV/c. The results show that the HBT radii in central collisions do not change much above 7 GeV/c. For central collisions at 200 GeV/c, the radii decrease with the increasing of transverse momentum PT but are not sensitive to the azimuthal angle. These results provide a theoretical reference for the energy scan program of the RHIC-STAR experiment.