this function takes in your generic config object, and figures out the files that need to be copied (specified in the BaseBuildConfig.copy field), and the new text/binary files that need to be written (specified in the BaseBuildConfig.text field).