I assume you are making the copy of your forum's folder structure before the hacker "messes things up"?
If so, Yes, you can simply copy it back and everything should work. You would lose any uploads that were made after the copy though -- avatars, attachments,and such.
Your forums, posts, users, etc. are in the SQL database, so if the hacker does not touch the database, then all of that should be OK.