Js Script to replace image files

Hey RPG Community.

I'm about almost done with the intro of my game, I just need to some help with a js script. I using MOG_Battlehub for my game and noticed that if you did a character change in the game, the battlehub picture wouldnt change. It would stay the same based off the images placed in the the battlehub folder. My Question is, Is there a way to make a js script that I can use where I input a "plugin command from an event" and it copies and pastes(replace) the original face_1.png flie from the source folder(battlehub) using the ones from the sub folders I made? 

Here is a Example want I want the js script or command to do.

pAVg0g5.png

Original thread: https://forums.rpgmakerweb.com/threads/js-script-to-replace-image-files.51644/