# args_copy_value

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L85
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-arguments-c-args_copy_value/

```c
static void args_copy_value(struct args_value *to, struct args_value *from)
```

## Parameters

- `to` (`struct args_value *`)
- `from` (`struct args_value *`)

## Called by

- [`args_parse`](/en/tmux/latest/reference/c-function-args_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L300)
- [`args_parse_flag_argument`](/en/tmux/latest/reference/c-function-arguments-c-args_parse_flag_argument/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L183)

## Calls

- [`xstrdup`](/en/tmux/latest/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L96)

## Referenced declarations

- [`ARGS_COMMANDS`](/en/tmux/latest/reference/c-enum-args_type-args_commands/) (constant)
- [`ARGS_NONE`](/en/tmux/latest/reference/c-enum-args_type-args_none/) (constant)
- [`ARGS_STRING`](/en/tmux/latest/reference/c-enum-args_type-args_string/) (constant)
- [`args_value`](/en/tmux/latest/reference/c-struct-args_value/) (struct)
- [`args_value.type`](/en/tmux/latest/reference/c-struct-args_value-type/) (attribute)
