---
name: "SDL_CopyProperties"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_CopyProperties"
---

# SDL\_CopyProperties(3)

Copy a group of properties.

## NAME

SDL\_CopyProperties - Copy a group of properties.

## HEADER FILE

Defined in SDL3/SDL\_properties.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**bool SDL\_CopyProperties(SDL\_PropertiesID src, SDL\_PropertiesID dst);**

## DESCRIPTION

Copy all the properties from one group of properties to another, with the exception of properties requiring cleanup (set using

**SDL\_SetPointerPropertyWithCleanup** ()), which will not be copied. Any property that already exists on **dst** will be overwritten.

## FUNCTION PARAMETERS

- *src*

  the properties to copy.

- *dst*

  the destination properties.

## RETURN VALUE

Returns true on success or false on failure; call

**SDL\_GetError** () for more information.

## THREAD SAFETY

It is safe to call this function from any thread.

## AVAILABILITY

This function is available since SDL 3.2.0.
