def transfer_attributes(target)
            target.no, target.generation = @no, @generation
            target.parent = @parent
            if self.indirect?
                target.set_indirect(true)
                target.set_document(@document)
            end

            target
        end
def transfer_attributes(target)
            target.no, target.generation = @no, @generation
            target.parent = @parent
            if self.indirect?
                target.set_indirect(true)
                target.set_document(@document)
            end

            target
        end
Copy the attributes of the current object to another object.
 Copied attributes do not include the file offset.