GetMediaFile specifies a file name which you provide, a sortable string of the current date-time and the extension which you provide.
The folder included in the full file path returned includes the appname but if you try to write to that folder and it does not exist, the write will fail.
So when you indicate to DroidScript that you are going to need that folder (by using GetMediaFile) DroidScript ensures that it exists.
then Hello World (presumably the app name written in DS), then the current date and time (?), and extension.
In File Manager, Internal Storage, Pictures, Hello World I see no items (is this related to GetPrivateFolder?)
Or in Internal Storage, Droidscript, Hello World, Img I see Hello World.png.
From your explanation if folder /storage/emulated/0/Pictures/Hello World didn't exist then it would create it.
Is it possible for two Hello World.png to be out there? If so then what does GetMediaFiles return?
Is it copying Hello World.png to 20200818_133735040.png?
I tried using the string returned in CreateImage, but it doesn't seem to work.
Still not sure if this is the actual folder name