diff --git a/flextype/Entries.php b/flextype/Entries.php index 0fdb2911..9ce78216 100755 --- a/flextype/Entries.php +++ b/flextype/Entries.php @@ -355,6 +355,19 @@ class Entries return Filesystem::delete(PATH['entries'] . '/' . $entry); } + /** + * Copy entry(s) + * + * @param string $entry Entry + * @param string $new_entry New entry + * @param bool $recursive Recursive copy entries. + * @return bool True on success, false on failure. + */ + public static function copy(string $entry, string $new_entry, bool $recursive = false) : bool + { + return Filesystem::copy($entry, $new_entry, $recursive); + } + /** * Check whether entry exists. *