The work in this area is limited particularly in beam shaping. In the process of pattern synthesis, intensive investigations are carried out to optimize desired beam shapes for small and large arrays. The main objective of this present work is to optimize the new amplitude and Phase distributions for desired flat top beams by using the combination of Harmony Search Algorithm and Differential Evolution Algorithm. It is found that the new algorithm provides great improvement in main lobe shaping control and side lobes which is present in the obtained radiation patterns. The optimized radiation patterns are more close to desired patterns and the numerical simulation results are presented.