If a layer is used for Input Features and no expression is entered, only the selected features are written to the output feature class. If a layer is used for Input Features and an expression is entered, the expression is only executed against the selected features, and the expression-based subset of the selected set is written to the output feature class.