Extending NPM setting with a gulp task

I am a complete beginner in npm and gulp. However, I have managed to put together a setting for myself in which I can run a series of tasks using a gulp command. For example, compiling SASS to CSS, minifying css and browsersync. What I am missing now is the following:
I would like to include a task in this command, which copies compiled HTML files from PHP files in the SRC directory into the DIST directory. I have seen that there is probably something for this: php2html - npm

Unfortunately I don’t understand the code, and it’s not clear to me how I can integrate the whole thing into a task. Can someone help me here at best? I would also be happy to provide my current setting.