The correlation of tab/page to table can be done either in a parameter, or a lookup activity pointed at a file like your example. In both cases we want to iterate over the correlation.
In below example, I encode the correlation in a parameter called "correlation" of type array
[{"page":1,"table":"foo"},{"page":2,"table":"bar"}]
In the ForEach Items I use
@pipeline().parameters.correlation
In the Copy activity source, I reference the tab/page
@item().page
In the Copy activity sink I reference the table name
@item().table