function testFullCopy() { $new_file = '/tmp/mypfwtestdir2/recursive/text2.txt'; $contents = "hello world"; Pfw_Script_FileSystem::createFileWithContents($new_file, $contents); Pfw_Script_FileSystem::mkdir('/tmp/mypfwtestdir2/stuff'); $this->testFileCopy(true); $from_dir = '/tmp/mypfwtestdir2'; $to_dir = '/tmp/mypfwtestdir'; Pfw_Script_FileSystem::fullCopy($from_dir, $to_dir); $this->assertTrue(file_exists('/tmp/mypfwtestdir/recursive/text2.txt')); $this->assertTrue(file_exists('/tmp/mypfwtestdir/stuff')); }