You might be able to use CopyTable, depending on if your data structures match. You can find samples in the downloads section of this forum:
www.infopathdev.com/.../entry75348.aspx
www.infopathdev.com/.../entry58577.aspx
If you have any trouble, post a new topic in the forum under the qRules section. :)