Auto move dependencies into project dir

Hello, is there anywhere a tool that can automatically copy all external classes a project uses into the project src dir?

I have a big project that uses a lot of external libraries.
I need to send the source to a client, including only the classes required for it to build without errors, excluding flash / flex libraries.

Anything like that exists in any ide?

Thanks