Does array make the program smaller?

No.