# CopyCookiesOptions

**Kind**: interface | **Module**: [io.Connect Desktop](https://docs.interop.io/desktop/reference/javascript/io.connect%20desktop/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/io.connect desktop/copycookiesoptions/index.html

Options for copying cookies from one session to another.

*Since: @interopio/6.23.0*

## Properties

- **`domains`** (`string[]`, required)
  Array containing the names of the domains whose cookies to copy.
  The specified values will match the domains and their respective subdomains.
- **`from`** (`CookieSessionRef`, required)
  The source session from which to read cookies.
- **`to`** (`CookieSessionRef`, required)
  The target session to which to write the cookies.

## Related types

- [CookieSessionRef](https://docs.interop.io/desktop/reference/javascript/io.connect%20desktop/cookiesessionref/index.md)
