# LMOVE

> Move an element from one list to another.

## Arguments

<ParamField body="source" type="str" required>
  The key of the source list.
</ParamField>

<ParamField body="destination" type="str" required>
  The key of the destination list.
</ParamField>

<ParamField body="wherefrom" type='"left" | "right"' required>
  The side of the source list from which the element was popped.
</ParamField>

<ParamField body="whereto" type='"left" | "right"' required>
  The side of the destination list to which the element was pushed.
</ParamField>

## Response
<ResponseField type="str" required>
  The element that was moved.
</ResponseField>

<RequestExample>
```py Example
redis.rpush("source", "one", "two", "three")
redis.lpush("destination", "four", "five", "six")

assert redis.lmove("source", "destination", "RIGHT", "LEFT") == "three"

assert redis.lrange("source", 0, -1) == ["one", "two"]
```
</RequestExample>
