Your question is too broad. I'd start with the Timer, MoveTo, and LineOfSight behaviors:
Timer to schedule events (like performing the next attack).
LineOfSight to find the next target within range.
MoveTo to move to that target.
The most difficult part will probably be the target selection logic. For example, you don't want every unit to attack the same enemy just because it's the closest one.