This is just theoretical question, without context.
In case
- somebody hire me (as freelancer (I'm A1))
- client (A2) wants to develop CLONE of an existing application from B1 company
- after some time I give completed application to my client (A2)
- after some time original owners of application (B1) I cloned want to go to court
Who would be responsive for damage caused to B1 company?
Me as freelancer (A1) or my client (A2) which runs that site and take money from it?