human
Solve the following python programming problem given the following code:
def build_copy_task(method) : 
    @ task 
    def copy_task(source_credentials, dest_credentials) : 
        copy = build_copy (source_credentials, dest_credentials) 
        getattr (copy, method) () 
ns.add_task (copy_task, name = copy_task) 

    
    

    Fix the buggy line: ns.add_task (copy_task, name = copy_task)
assistant
#Here is Python code to fix the buggy line: ns.

ns.add_task (copy_task, name = method)