David,
If you go into the library settings, you can choose the Save library as a template option and tick the include all content.
There are two caveats, 1, There is limit on the template size, however this can be adjusted using an STSADM command. If you google sharepoint template size limit, that should find it for you.
2. The security settings will be set to the default for the site collection you're using when you create a new library from the template.
There may be a third party application from someone like Avepoint that preserves the security, but I'm not sure.
Paul.
www.myfatblog.co.ukMCTS: WSS 3.0
MCTS: MOSS 2007