Is it possible to move a file to another folder using code?

I need to take uploads of user media files using the upload button and then move them to another folder for better organization… Is this not possible? I’ve tried looking through the API but can’t find anything other than upload() in wix-media-backend… But I have no idea how to get the upload buttons media to be used as the ‘buffer’ argument