Plugin creation - Can I copy .cpp and/or .h files from Epic's plugins?

I think u might want to take a look at the build files in the project folder. Inthere you can add modules/plugins.