• Creates a shallow copy of an object, an array or a primitive.

    Assumes that there are no proto properties for objects.

    Parameters

    • src: any
    • dst: any

    Returns any