The band.copy() function is used to construct and return the copy of the current scale with the same domain and range. Any changes made to any scale are independent of each other i.e change in original scale will not affect the copy scale and vice-versa.
Parameters: This function does not accept any parameter.
Return Values: This function returns a copy of the current scale. The return type is a function.
Below given are a few examples of the function given above.