I don't see how chunk solves that problem.
Chunk, in your case, would fetch 1000 users and store them in a collection. You would loop those 1000 users to print their names. and then it would fetch another 1000 users, store them in the same variable (collection) and so on. What this does is to make sure you don't run out of ram, since it will reuse the variable to store the data, so it wont keep all data in memory. Only a 1000 at a time.
At the best, using chunk this way you would allow you print the last 1000 users, since that what chunk does, the the previous data will be overriden with the last data. You could use chunk to create a new array with all the users, but then you could easily just have gotten all the users without chunk in the first place.
Chunk isn't the solution to this, it has a different purpose.