def getPathCopy(path):
 pathCopy = []
 for point in path:
  pathCopy.append(point.copy())
 return pathCopy

def getPathCopy ( path ) : pathCopy = [ ] for point in path : pathCopy . append ( point . copy ( ) ) return pathCopy
get path copy .