copyDirectory() public static method
Copies a whole directory as another one. The files and sub-directories will also be copied over.
public static void copyDirectory ( $src, $dst, $options = [] )$src string
The source directory $dst string
The destination directory $options array
Options for directory copy. Valid options are: dirMode: integer, the permission to be set for newly copied directories. Defaults to 0775. fileMode: integer, the permission to be set for newly copied files.