code: def copy(a):
      
      shared = anonymousmemmap(a.shape, dtype=a.dtype)
      shared[:] = a[:]
      return shared
docs: Copy an array to the shared memory. 
  
          Notes
          -----
          copy is not always necessary because the private memory is always copy-on-write.
  
          Use :code:`a = copy(a)` to immediately dereference the old 'a' on private memory