# shz_memcpy2_16

Source: https://sh4zam.com/api/memory/shz_memcpy2_16/

> Copies 16 shorts from src to dst

```c
SHZ_INLINE void shz_memcpy2_16( void* SHZ_RESTRICT dst, const void* SHZ_RESTRICT src) SHZ_NOEXCEPT;
```

Copies 16 shorts from `src` to `dst`.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `dst` | `void *SHZ_RESTRICT` |  |
| `src` | `const void *SHZ_RESTRICT` |  |

## Returns

Nothing (`void`).

## Warnings

- `src` and `dst` buffers must not overlap.
- `dst` and `src` must both be aligned by at least two bytes.

## Availability

- **C++ equivalent:** [`shz::memcpy2_16`](https://sh4zam.com/api/cpp/#shzmemcpy2_16)
- **Type-generic form:** none
- **Back-ends:** SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_mem.h:284`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_mem.h#L284)
- **Module:** [Memory](https://sh4zam.com/api/memory/), section "Constant-sized Operations"
