src/FS/Folder/Editor.php
public function copy( $targetFolder, $force = FALSE, $skipDotEntries = TRUE, $useCopy = FALSE )
	{
		$result	= self::copyFolder( $this->folderName, $targetFolder, $force, $skipDotEntries );
		if( $result && $useCopy )
			$this->folderName	= $targetFolder;
		return $result;
	}
public function copy( $targetFolder, $force = FALSE, $skipDotEntries = TRUE, $useCopy = FALSE )
	{
		$result	= self::copyFolder( $this->folderName, $targetFolder, $force, $skipDotEntries );
		if( $result && $useCopy )
			$this->folderName	= $targetFolder;
		return $result;
	}
public function copy ( $ targetFolder , $ force = FALSE , $ skipDotEntries = TRUE , $ useCopy = FALSE ) { $ result = self :: copyFolder ( $ this -> folderName , $ targetFolder , $ force , $ skipDotEntries ) ; if ( $ result && $ useCopy ) $ this -> folderName = $ targetFolder ; return $ result ; }
Copies current Folder to another Folder and returns Number of copied Files and Folders.
@access		public
@param		string		$targetFolder	Folder Name of Target Folder
@param		bool		$useCopy		Flag: switch current Folder to Copy afterwards
@param		bool		$force			Flag: force Copy if file is existing
@param		bool		$skipDotEntries	Flag: skip Files and Folders starting with Dot
@return		int
Copies current Folder to another Folder and returns Number of copied Files and Folders .