We already have a `copyFile(File, String)`, which has different behaviour - it doesn't prepend getRunDir() and doesn't do the https prefix check (which will presumably always be false here). Seems confusing to have such similar (but slightly different) copyFile and copyResource methods.