There are good tutorials, manuals and examples out there, but here is a start ...
Wrap your fields into a subform that is "Flowed" and "Repeat Subform for Each Data Item".
The parent of this subform needs to be "Flowed" and "Allow Page Breaks within Content".
On your button click event you can do somehting like
_subform.addInstance(1);
(where subform is the name of the subform)
Or you could use a table.
Have fun.