Somebody please help me out am a newbie to coding....

below is my code

Code:
i = 0
ary = Array(1,2,3,4,5)

Do While i < 5

cscript MoveFiles.vbs "C:\Avotus\TestSource\ary(i)|C:\Avotus\TestTarget\|ary(i)|test|0"

i = i + 1
Loop
am getting Expected end of statement - Line 6 Char 23