Changes "aftercopy" method to "afterCopy"

As in documentation.