Before you buy that RJ45 coupler, consider a $15 network switch or a single longer cable. Either one will usually serve you ...
Joining two Ethernet cables together with a coupler is rare, but when your cords are suddenly too short, there are better options to extend your network.