# args_copy_copy_value

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

```c
static void args_copy_copy_value(struct args_value *to, struct args_value *from, int argc, char **argv)
```

## Parameters

- `to` (`struct args_value *`)
- `from` (`struct args_value *`)
- `argc` (`int`)
- `argv` (`char **`)

## Called by

- [`args_copy`](/en/tmux/3.7c/reference/c-function-args_copy/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L383)

## Calls

- [`cmd_list_copy`](/en/tmux/3.7c/reference/c-function-cmd_list_copy/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L358)
- [`cmd_template_replace`](/en/tmux/3.7c/reference/c-function-cmd_template_replace/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L351)
- [`xstrdup`](/en/tmux/3.7c/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L349)

## Referenced declarations

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