There's a principle in Jewish law that Dinah D'Malchuta Dinah - the law of the country you're in is considered binding. See https://en.m.wikipedia.org/wiki/Dina_d%27malkhuta_dina
Given that the US law considers breaking copyright to be unlawful, Jewish law would too (in the US).