From this, you can see that 'cp' came from the coreutils-9.0-x86_64-3 package.
The source will be found in a corresponding subdirectory. In this case, that
would be ./a/coreutils/.
All of these packages have scripts that extract, patch, and compile the source
automatically. These are the 'SlackBuild' scripts.