Copy the contents of one matrix into another

copy_mat(dest, orig)

Arguments

dest

destination matrix

orig

origin matrix

Value

copy the elements of one matrix into another.