copy

fun copy(from: User, change: User.() -> Unit = {}): User

Copy a user.

Return

The copied user.

Parameters

from

The user to copy.

change

The changes to apply.