is there a Python Equivalent to Memcpy,"socket = socket.socket(('127.0.0.1', port))"