How to make animation like this using array?
You don't need an array, what you need is a curve with the shape you want and then use dupliframes. 

To set it up read How can I duplicate a mesh along a curve? 

Then, animate the "duplication end" for the object used along the curve Read: How can i add more duplicates to a curve?