The isotopic composition of cosmic-ray beryllium and its implication for the cosmic ray's age