def METHOD_NAME(self, command: base_command.PartialCommand[typing.Any]):
    mock_check = mock.MagicMock()
    command._checks = [mock_check]
    command._hooks = mock.Mock()
    mock_metadata = mock.Mock()
    command._metadata = mock_metadata
    new_command = command.copy()
    assert new_command is not command
    assert new_command._checks == [mock_check]
    assert new_command._checks[0] is not mock_check
    assert new_command._hooks is command._hooks.copy.return_value
    assert new_command._metadata is mock_metadata.copy.return_value