copy to direname and not full path