True. Total energy is conserved, but in addition the gravitational potential depends only on height and not on how the height was reached. Since the final heights are the same for both balls, they both have the same amount of potential energy. Hence, they have the same kinetic energy as well.