The two elements with properties most like beryllium are magnesium and aluminium.
Explanation;
Beryllium and magnesium are two adjacent alkaline earth metals. That means; both these chemical elements are in the same group (group 2), but in different periods, i.e., beryllium is in the 2nd period while magnesium is in the 3rd period.