copy() public méthode

Does not work on Lighttpd.
public copy ( string $pathFrom, string $pathTo )
$pathFrom string Source file path
$pathTo string Target file path
Exemple #1
0
 /**
  * Tests file copying.
  *
  * @depends testPut
  */
 public function testCopy()
 {
     // Lighttpd does not support this method.
     // $this->assertTrue($this->client->copy($this->file, $this->dir . '/testcopy.txt'));
     $this->assertFalse($this->client->copy($this->dir . '/dummy.txt', $this->dir . '/dummycopy.txt'));
 }