A 4.2 GPA is a weighted number — there's no way to reach 4.2 on the standard unweighted 4.0 scale. It typically means a base unweighted GPA of around 3.6-3.8 plus AP, IB, or Honors bonus weight added through your school's weighting policy. Colleges that recalculate (UF, FSU, UNC, etc.) will strip the weighting and read your underlying unweighted number. Colleges that take school-reported GPA see the 4.2 but contextualize it against your school's weighting scale.
A 4.2 weighted GPA at a school using +1.0 AP bonus typically corresponds to a 3.7 unweighted GPA with roughly half of academic courses being AP or honors. At a +0.5 honors school, the same 4.2 weighted would require closer to 3.9 unweighted.