Is it against the law to build a fence within two feet of an existing fence?

no