}
if(to instanceof LinkFSDirectory)
{
LinkFSDirectory fsto=(LinkFSDirectory)to;
if(fsto.isAllowMove())
{
File discfile = new File(fsto.directory, dest);
Path srcfile = new Path(directory, src);
fsto.addhdfsLinks(discfile.getName(), srcfile);
return ;
}
}
super.copy(to, src, dest);